import Vue from 'vue'
import Router from 'vue-router'
import Share from '../view/Share'
import Send from '../view/Send'
import Success from '../view/Success'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'share',
      component: Share
    },
    {
      path: '/send',
      name: 'send',
      component: Send
    },
    {
      path: '/success',
      name: 'success',
      component: Success
    }
  ]
})
